package com.chw.controller;

import com.chw.common.ChwTS;
import com.chw.service.ShopValuesService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("shopValue")
public class ShopValuesController {
    @Autowired
    private ShopValuesService service;
    @RequestMapping("queryShopValues")
    public ChwTS queryShopValues(Integer pid){
        return ChwTS.success( service.queryShopValues(pid));
    }
}
